package com.wentao.mall.service;

import com.wentao.mall.model.po.User;
import com.wentao.mall.model.vo.CartVo;

import java.util.List;

public interface CartService {
    List<CartVo> cartList(Integer userId);

    void addCart(Integer productId, Integer count, User currentUser);

    void updateCart(Integer productId, Integer count, User currentUser);

    void deleteCart(Integer productId,User user);

    void selectedCart(Integer productId, Integer selected, User user);

    void selectedAll(Integer selected,User user);
}
